#ifndef DlgOpenSample_H
#define DlgOpenSample_H
#include "ui_dlgOpenSample.h"
#include <QSqlTableModel>

class DlgOpenSample : public QDialog
{
    Q_OBJECT

public:
    DlgOpenSample(QWidget *parent = 0);
    Ui::Dialog ui;

public slots:
    void accept();
    void reject();
    void month_change();
  void day_change();
  void name_begin_change();
  void name_end_change();
  void name_include_change();
  void name_equal_change();
  void use_date(bool);
  void use_name(bool);
  void query();
  void selectall();
private:
    QSqlQueryModel *model;
};

#endif // DlgOpenSample_H
